package com.example.zxy.constraintlayouttest.model;

import com.example.zxy.constraintlayouttest.base.BaseListener;
import com.example.zxy.constraintlayouttest.base.BaseModel;
import com.example.zxy.constraintlayouttest.bean.FoodbysearchBean;

import java.util.List;

import retrofit2.Call;

public class SearchModel extends BaseModel<List<FoodbysearchBean>> {

    public void getfoodsearch(String search , final BaseListener baseListener){

        call = service.getfoodsearch(search);
        callEnqueue(call , baseListener);
    }
}
